package net.pluce.nxt.network;
/**
 * Interface defining a listener to robot events, so the object will be able to respond to robot messages.
 * @author Pluce
 */
public interface RobotListener {
	
	/**
	 * Method called when the robot send a message giving the distance he traveled since last message
	 * @param received message received
	 */
	public void distanceReceived(DistanceMessage received);
	
	/**
	 * Method called when the robot send a message giving the direction he is going to turn
	 * @param received message received
	 */
	public void directionReceived(DirectionMessage received);
}
